home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Emulators / v2600 / Source.lha / Source / tiasound.h < prev    next >
C/C++ Source or Header  |  1997-04-24  |  3KB  |  43 lines

  1. /*****************************************************************************/
  2. /*                                                                           */
  3. /* Module:  TIA Chip Sound Simulator Includes, V1.0                          */
  4. /* Purpose: Define global function prototypes and structures for the TIA     */
  5. /*          Chip Sound Simulator.                                            */
  6. /* Author:  Ron Fries                                                        */
  7. /* Date:    September 10, 1996                                               */
  8. /*                                                                           */
  9. /*****************************************************************************/
  10. /*                                                                           */
  11. /*                 License Information and Copyright Notice                  */
  12. /*                 ========================================                  */
  13. /*                                                                           */
  14. /* TiaSound is Copyright(c) 1996 by Ron Fries                                */
  15. /*                                                                           */
  16. /* This library is free software; you can redistribute it and/or modify it   */
  17. /* under the terms of version 2 of the GNU Library General Public License    */
  18. /* as published by the Free Software Foundation.                             */
  19. /*                                                                           */
  20. /* This library is distributed in the hope that it will be useful, but       */
  21. /* WITHOUT ANY WARRANTY; without even the implied warranty of                */
  22. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library */
  23. /* General Public License for more details.                                  */
  24. /* To obtain a copy of the GNU Library General Public License, write to the  */
  25. /* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.   */
  26. /*                                                                           */
  27. /* Any permitted reproduction of these routines, in whole or in part, must   */
  28. /* bear this legend.                                                         */
  29. /*                                                                           */
  30. /*****************************************************************************/
  31.                 
  32. #ifndef _TIASOUND_H
  33. #define _TIASOUND_H
  34.  
  35. void Tia_sound_init (unsigned int sample_freq, unsigned int playback_freq);
  36. void Update_tia_sound (unsigned int addr, unsigned char val);
  37. void Tia_process_2 (register unsigned char *buffer,
  38.                     register unsigned int n);
  39. void Tia_process (register unsigned char *buffer,
  40.                   register unsigned int n);
  41.  
  42. #endif 
  43.